package auto.app.controller.from;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;

@Data
@ApiModel("复制测试用例")
public class CaseCopySave {

    /**
     * 备注
     */
    @ApiModelProperty("备注")
    private String remark;

    /**
     * 用例名称
     */
    @ApiModelProperty("用例名称")
    @NotEmpty(message = "用例名称不能为空")
    private String caseName;
    /**
     * 测试用例ID
     */
    @ApiModelProperty("测试用例ID")
    @NotNull(message = "被复制的ID不能为空")
    private Integer caseId;
}
